package org.teamh.logic;

import org.teamh.game.Start;
import org.teamh.logic.datamodel.CreepSmashGame;
import org.teamh.logic.datamodel.DatamodelManager;

public class Logic extends Thread{

	private Start start;
	private CreepSmashGame game;
	private DatamodelManager manager;
	
	public Logic(Start start) {
		this.start = start;
		this.setManager(new DatamodelManager(start));
	}

	public Start getStart() {
		return start;
	}

	public void setStart(Start start) {
		this.start = start;
	}

	
	public CreepSmashGame getGame() {
		return game;
	}
	public void setGame(CreepSmashGame game) {
		this.game = game;
	}

	public DatamodelManager getManager() {
		return manager;
	}

	public void setManager(DatamodelManager manager) {
		this.manager = manager;
	}
	
}
